#ifndef IntegralImageGeneralFeature_H_
#define IntegralImageGeneralFeature_H_

#include "IntegralImageFeature.h"
#include "Feature.h"
#include "math.h"
#include "iostream"

namespace findobject{
class IntegralImageGeneralFeature : public IntegralImageFeature {
public:
	//float*** intimg;
	//float** counterimg; 
	float** weightimg;
	Feature * feature;
	int grid_parts;
	IntegralImageGeneralFeature(Point *** data, Feature * feat,int sx,int sy);
	~IntegralImageGeneralFeature();
	FeatureResponse * getResponse(float topx, float topy,float botx,float boty);
	void reset(Point ** data);
};
};
#endif
